package com.hwj.mapper;

import com.hwj.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【t_role】的数据库操作Mapper
* @createDate 2023-11-27 23:13:50
* @Entity com.hwj.entity.Role
*/
@Mapper
public interface RoleMapper {
    List<Role> select();

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> page(Role role);
}
